import Layout from '@/layout/Layout'

const referralRouter = {
  path: '/referral',
  component: Layout,
  redirect: 'noredirect',
  name: '挂号管理',
  meta: {
    title: '挂号管理',
    icon: 'fa-heartbeat'
  },
  children: [
    {
      path: 'referralManagement',
      component: () => import('@/views/referral/ReferralManagement'),
      name: 'ReferralManagement',
      meta: { title: '我的挂号',cache: true}
    },
    {
      path: 'referralAdd',
      component: () => import('@/views/referral/ReferralAdd'),
      name: '新增挂号',
      meta: { title: '新增挂号'}
    }

  ]
}

export default referralRouter
